﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using ProductFeedbackE = JTLeigh.Commerce.Spencer.Features.ProductFeedback.Common.Entities.ProductFeedback;

namespace JTLeigh.Commerce.Spencer.Features.ProductFeedback.Common.UnitTests.Entities
{

	/// <summary>
	/// Unit tests for the <see cref="ProductFeedback"/> class.
	/// </summary>
	[TestClass]
	public class ProductFeedbackFixture
	{

		#region Methods

		#region Constructors

		/// <summary>
		/// Ensures the default constructor initializes the feedback badge associations collection.
		/// </summary>
		[TestMethod]
		public void TestConstructor()
		{
			ProductFeedbackE feedback;

			feedback = new ProductFeedbackE();
			Assert.IsNotNull(feedback.BadgeAssociations);
            Assert.AreEqual(0, feedback.BadgeAssociations.Count);
		}

		#endregion // Constructors

		#endregion // Methods

	}

}
